package com.ntschy.common.core.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author ezreal_geng
 */
@Data
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "基础分页查询DTO")
public class BasePageDTO implements Serializable {

    @ApiModelProperty(value = "当前页码")
    private Integer currPage;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize;
}
